SLX - A Top-down Derivation Procedure for Programs with Explicit Negation

نویسندگان

  • José Júlio Alferes
  • Carlos Viegas Damásio
  • Luís Moniz Pereira
چکیده

In this paper we deene a sound and (theoretically) complete top-down derivation procedure for a well-founded semantics of logic programs extended with explicit negation (WFSX). By its nature, it is amenable to a simple interpreter implementation in Prolog, and readily allows pre-processing into Prolog, showing promise as an eecient basis for further development. The derivation method is directly inspired on the semantic AND-tree characterization of WFSX in our paper 2], but does not require knowledge of it. In fact, that work can be seen as a preliminary step towards the deenition of the procedure presented here. Because of its properties, which are paramount for top-down query evaluation and other approaches do not fully enjoy, WFSX is a natural candidate to being the semantics of choice for logic programs extended with explicit negation. Moreover, WFSX is sound wrt to the answer-sets semantics, and it is a better aproximation to answer-sets than simply using the well-founded semantics of normal programs, plus a renaming of explicitly negated literals. Thus, our top-down procedure can be used as a sound one for answer-sets, that provides less incompleteness than others. Since WFSX coincides with the well-founded semantics on normal programs, our method is applicable to it and, for ground programs, compares favourably with previous approaches 2].

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Well Founded Semantics for Logic Programs with Explicit Negation

The aim of this paper is to provide a semantics for general logic programs (with negation by default) extended with explicit negation, subsuming well founded semantics 22]. The Well Founded semantics for extended logic programs (WFSX) is expressible by a default theory semantics we have devised 11]. This relationship improves the cross{fertilization between logic programs and default theories, ...

متن کامل

Top-Down Query Evaluation for Well-Founded Semantics with Explicit Negation

In this paper we de ne a sound and complete top{down semantic tree characterization, that includes pruning rules, of the well{founded semantics for programs extended with explicit negation (WFSX), and compare it to other related approaches. It is amenable to a simple implementation (in appendix), and by its nature readily allows pre{processing into Prolog, showing promise as an e cient basis fo...

متن کامل

Query Answering in Normal Logic Programs Under Uncertainty

We present a simple, yet general top-down query answering procedure for normal logic programs over lattices and bilattices, where functions may appear in the rule bodies. Its interest relies on the fact that many approaches to paraconsistency and uncertainty in logic programs with or without non-monotonic negation are based on bilattices or lattices, respectively.

متن کامل

Reening Speciications to Logic Programs

The reenement calculus provides a framework for the stepwise development of imperative programs from speciications. In this paper we study a reenement calculus for deriving logic programs. Dealing with logic programs rather than imperative programs has the dual advantages that, due to the expressive power of logic programs, the nal program is closer to the original speciication, and each reenem...

متن کامل

Speci cation of a Program Derivation Editor

In this paper a tool for structuring and manipulating formal program derivations is speci ed using the Z notation A program derivation style based on transitive re lations between programs as found in the re nement calculus is assumed The structuring and manipulation of derivations is based on the notion of re nement diagrams proposed by Back This allows for a style of derivation that is much m...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994